home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-13 / allqtips.zip / TECH4.MSG < prev    next >
Text File  |  1992-08-05  |  5KB  |  95 lines

  1.           A QEdit Tip from the SemWare Technical Support Staff
  2.  
  3.                      .. Saving Files and Exiting ..
  4.  
  5.         QEdit provides several different ways to save files, discard
  6.         files, and exit the editor.  A set of five basic commands
  7.         provides various combinations of saving, discarding, and exiting
  8.         in order to suit individual preferences.
  9.  
  10.         We recommend selecting one or two methods with which you feel
  11.         most comfortable and use them consistently.  Below is a
  12.         description of the basic commands for both single and multiple
  13.         files along with our default key combinations.
  14.  
  15.         1)  SaveFile <Ctrl K><S> - save the currently edited file to
  16.                 disk. The file remains loaded into the editor for
  17.                 further editing.
  18.  
  19.             GSave <Alt Y> - Like the SaveFile command but it issues the
  20.                 SaveFile command for all the files that have been
  21.                 modified.
  22.  
  23.         2)  File <Ctrl K><X> - Unconditionally saves and then discards
  24.                 the current file.  It then either goes to the next file
  25.                 in the QEdit file ring or the file to edit prompt.
  26.  
  27.             GFile <Alt F><G> - Like the File command but it instructs
  28.                 the editor to save all files that have been modified and
  29.                 then discards all the files that are loaded and exits.
  30.  
  31.         3)  Exit <Ctrl K><D> - Conditionally discards the currently
  32.                 edited file.  If the file has not been modified, the
  33.                 file is discarded without prompting and the editor is
  34.                 exited.  If the file has been modified, the editor will
  35.                 prompt "Save Changes (Y/N)?"  Selecting <Y> will save
  36.                 and discard the file, then exit.  Selecting <N> will
  37.                 discard the file without saving any changes and exit.
  38.  
  39.             GExit <Alt X> - Like the Exit command but it issues the Exit
  40.                 command for all loaded files.  If no files have been
  41.                 modified, it will immediately exit the editor.  If any
  42.                 files have been modified, the "Save Changes (Y/N)?"
  43.                 prompt will be displayed for each modified file.
  44.  
  45.         4)  PQuit <Ctrl K><Q> -  A protected quit that will warn the
  46.                 user of a modified file before discarding the file.  If
  47.                 the file has not been modified, it is discarded without
  48.                 prompting. If the file has been modified, the editor
  49.                 will prompt "Lose Changes (Y/N)?"  Selecting <Y> will
  50.                 discard the current file without saving changes and then
  51.                 either go to the next file in the QEdit file ring or the
  52.                 file to edit prompt. Selecting <N> will return you to
  53.                 the file to resume editing.
  54.  
  55.             GPQuit <F3> - Like the PQuit command but it issues the PQuit
  56.                 command for all loaded files.  If no files have been
  57.                 modified, it will immediately exit the editor.  If any
  58.                 files have been modified, the "Lose Changes (Y/N)?"
  59.                 prompt will be displayed for each modified file and then
  60.                 the editor is exited.
  61.  
  62.         5)  Quit - An unconditional quit.  The current file is discarded
  63.                 regardless of any changes made to it.  NOTE: Use this
  64.                 command with caution!  The Quit command is not assigned
  65.                 to a default keystroke.
  66.  
  67.         The Exit, File, PQuit commands can be configured to terminate or
  68.         not terminate the editor and ask for another file to edit.
  69.         This option can be customized using the configuration program
  70.         QCONFIG.EXE.  Run QCONFIG.EXE, select G)eneral Options, and
  71.         return till you get to the option that reads:
  72.  
  73.             Do you want the PQuit, Exit and File commands to return to
  74.             "EditFile" prompt (Y/N)? [Y]
  75.  
  76.         The default configuration is set to <Y> and will return you to
  77.         the EditFile prompt upon executing the PQuit, Exit, and File
  78.         commands or go to the next file in the QEdit file ring.  If set
  79.         to <N>, it will terminate QEdit upon executing the above
  80.         commands.  The SaveFile and Quit commands are not affected by
  81.         this setting.
  82.  
  83.         A Few Recommendations:
  84.         ~~~~~~~~~~~~~~~~~~~~~
  85.         *  If you know what you are doing and want to get in and out of
  86.            the editor quickly, use the GFile command.
  87.  
  88.         *  If you want to make one more final check before you exit the
  89.            editor, use the GExit.
  90.  
  91.         *  PQuit/GPQuit and Exit/GExit are not intended to be used at
  92.            the same time, but to give the user opposing approaches to
  93.            saving files and exiting the editor.
  94.  
  95.